package Test1230;

public class Test03 {
    public static void main(String[] args) {

        // (3)for循环打印2,4,6,8,10
        // (3)for循环打印9,7,5,3,1
for (int i = 2; i <= 10; i+=2) {
    System.out.println(i);
}
for (int i = 9; i >= 1; i-=2) {
    System.out.println(i);
}
    }
}